Skip to content

[UR] Plug conformance device tests back into CI - #22733

Merged
KornevNikita merged 1 commit into
intel:syclfrom
kweronsx:plug-in-tests
Jul 30, 2026
Merged

[UR] Plug conformance device tests back into CI#22733
KornevNikita merged 1 commit into
intel:syclfrom
kweronsx:plug-in-tests

Conversation

@kweronsx

@kweronsx kweronsx commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Fixes #22025

@kweronsx
kweronsx force-pushed the plug-in-tests branch 6 times, most recently from 60a2fa9 to 04d0281 Compare July 27, 2026 07:21
Comment thread sycl/test-e2e/FreeFunctionKernels/enqueue_functions_sub_group_size.cpp Outdated
ur_device_handle_t Dev = nullptr;
for (const auto &p : GlobalAdapter->Platforms) {
Dev = p->getDeviceFromNativeHandle(ZeDevice);
if (auto devHandle = p->getDeviceFromNativeHandle(ZeDevice); devHandle)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This fragment was updated, because, on one of the test setups, the last iteration assigned nullptr to the 'Dev' variable causing the test to fail. Therefore, with this change, we preserve the preference to select the last device, but we also make sure it is not null.

@kweronsx
kweronsx marked this pull request as ready for review July 28, 2026 06:29
@kweronsx
kweronsx requested review from a team as code owners July 28, 2026 06:29
@kweronsx
kweronsx requested a review from cperkinsintel July 28, 2026 06:29
@kweronsx
kweronsx force-pushed the plug-in-tests branch 2 times, most recently from f67f7a0 to f8e568d Compare July 29, 2026 10:47
if (FanCount == 0)
return UR_RESULT_ERROR_UNSUPPORTED_ENUMERATION;

if (!ParamValue) {

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Early exit in the test when ParamValue == nullptr hid that the query is not supported.

for (auto Fan : ZeFanHandles) {
int32_t CurSpeed;
ZE2UR_CALL(zesFanGetState, (Fan, ZES_FAN_SPEED_UNITS_PERCENT, &CurSpeed));
auto result = ze2urResult(ZE_CALL_NOCHECK(

@kweronsx kweronsx Jul 29, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm also remapping the return value as the macro (ASSERT_SUCCESS_OR_OPTIONAL_QUERY) checks against UR_RESULT_ERROR_UNSUPPORTED_ENUMERATION.

@kweronsx

Copy link
Copy Markdown
Contributor Author

@intel/llvm-gatekeepers please consider merging. Thanks

@KornevNikita
KornevNikita merged commit 328ab0d into intel:sycl Jul 30, 2026
99 of 101 checks passed
@kweronsx
kweronsx deleted the plug-in-tests branch July 30, 2026 12:05
crystarm pushed a commit to crystarm/intel-llvm that referenced this pull request Jul 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[UR][L0v2] multiple conformance tests fail on Battlemage Arc B580

4 participants